'use strict';

/**
 * @type {*}
 */

let StringUtil = require('../../util/StringUtil');
let baseService = require('../BaseService');
const URI = {
    TERMINAL: '/users',
    TERMINAL_EXPORT:'/asset/downloadFile',//告警信息Excel导出
    GET_CHAR:'/asset/statisticUtilization',//终端图表数据
};

/**
 * 获取-终端报表列表
 * @param thiz
 * @returns {Promise}
 */
module.exports.getTerminalList = function (thiz, params) {
    return baseService.get(thiz, URI.TERMINAL, params);
};
//终端报表Excel导出
module.exports.getTerminalReportExport  = function (thiz,params) {
    return baseService.get(thiz,URI.TERMINAL_EXPORT, params);
};
/** 终端图表数据*/
module.exports.getChar  = function (thiz, params) {
    return baseService.get(thiz, URI.GET_CHAR, params);
};